package com.adinnet.api.user.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class VerifyCodeReq implements Serializable {

    @ApiModelProperty(value = "手机号",required = true)
    @NotNull(message = "手机号不能为空")
    private String mobile;


    @ApiModelProperty(value = "短信类型 1重置密码/修改密码(方便后期扩展)",required = true)
    @NotNull(message = "短信类型不能为空")
    private String type;
}
